package com.pearadmin.hospital.mapper;

import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import com.pearadmin.hospital.domain.HospitalOwinfo;

/**
 * 出入库Mapper接口
 * 
 * @author yuan
 * @date 2021-07-29
 */
@Mapper
public interface HospitalOwinfoMapper 
{
    /**
     * 查询出入库
     * 
     * @param id 出入库ID
     * @return 出入库
     */
    public HospitalOwinfo selectHospitalOwinfoById(Integer id);

    /**
     * 查询出入库列表
     * 
     * @param hospitalOwinfo 出入库
     * @return 出入库集合
     */
    List<HospitalOwinfo> selectHospitalOwinfoList(HospitalOwinfo hospitalOwinfo);

    /**
     * 新增出入库
     * 
     * @param hospitalOwinfo 出入库
     * @return 结果
     */
    int insertHospitalOwinfo(HospitalOwinfo hospitalOwinfo);

    /**
     * 修改出入库
     * 
     * @param hospitalOwinfo 出入库
     * @return 结果
     */
    int updateHospitalOwinfo(HospitalOwinfo hospitalOwinfo);

    /**
     * 删除出入库
     * 
     * @param id 出入库ID
     * @return 结果
     */
    int deleteHospitalOwinfoById(Integer id);

    /**
     * 批量删除出入库
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteHospitalOwinfoByIds(String[] ids);

}
